Fix race conditions
Removed log