Fix stop Receiver Thread when switch to OFFLINE mode