fix deadlock during join while map load happens. fixes #2530 , #3033

Do we need log prints?