Call git_threads_shutdown() after last handle get disposed