Closing all connections after request