Fix when keepalive option is set to false
Merge pull request #1 from jeromemacias/master

Fix when keepalive option is set to false