clean up for close client
Merge pull request #554 from vishwasbabu/mifosx-436

Mifosx 436