Use delayed_job to handle checking connection timeout on server side