Changed socket options to not linger indefinitely.