Add testcase to test connection hang ups when a query is issued 100 ms after the last one (right when the client connection is closing)
Also added a possible fix
Merge branch 'master' into hotfix/query_hangup
Merge pull request #1244 from iuriaranda/hotfix/query_hangup

New queries hang when a client connection is closed after the 100 ms period of inactivity