Removed stupid connection.close()