Fix Receive thread