Remove on_incomming_packets when going offline