This seems to prevent unexplained SocketTimeoutExceptions that occur even though the timeout is set to 0 (unlimited).