- Closing connection after actions