GRILL-582: closing cli closes underlying grill session
added flag to check clientconnection activity
same function call for closing client connection
making close connection synchronised
Merge pull request #99 from akshaygoyal/develop

GRILL-582: closing cli closes underlying grill session