[PATCH] fix: release transaction lock before unregistering syncdbs