more consistent logging and check of saved sockets