Fix an issue where clients would be put twice into sleeping_clients (probably since...