Move disconnect() and fail() calls into respond callback to prevent race on pipelining
Merge pull request #276 from smfreegard/master

Move disconnect() and fail() calls into respond callback to prevent race when client is pipelining