CMA/HomeControl/ReceiveThread: implementation of msg receive on the thread.