ReceiveMessageWorker: while loop trouble - to be fixed