FIX: fix deadlock due to lock on contacts.mk