Socket disconnected before the page is refreshed
Moving the socket signature to the records file