Hotfix: Close all database connection on finish