First attempt at socket-idle-timeout implementation.