Fixed a bug that lost messages

The bug occured when initiating a new connection towards a previously
known host.