Use delayed_job to handle checking connection timeout on server side

After a chat is initiated, add a task to the job queue(delayed job) to check if we should close it.

Using the `delayed_job` here, you have to start the process by `rake jobs:work` in development mode.