Receiver implementation
Receiver should not wait for messages if queue is empty