Will not stop process if no error occurred or connected sockets count is greater than 10