What steps will reproduce the problem?
1. Configure `c2s_timeout = 300`
2. Connect and fail to authenticate
3. Wait some hours
> What is the expected output?
The unauthenticated connection should be terminated after 5 minutes.
> What do you see instead?
The connection is never terminated.
> What version of the product are you using? On what operating system?
prosody 0.10 1nightly444-1~jessie from your repository with Debian's lua-socket 3.0~rc1-3. Libevent is enabled in prosody.
> Please provide any additional information below.