Implemented `receive_message()`.