Fixed message sending after reconnection