fix bug, not loading again for memory if mutex is locked