connection_off message is added
Removed print statements