fixed closing connection properly now