Added tcp keepalives helps issue #17