On the vanishing cycles of a meromorphic function on the complement of its poles