Debugging losing of messages