null check on the packet push. On a disconnection a null pointer
exception can occur.