* implements ei_queue_pop that calls
switch_queue_trypop or switch_queue_pop_timeout
depending on timeout value
* default for sender_timeout is set to 0
to bring back previous behaviour of
using switch_queue_trypop when fetching
messages to be sent to erlang node