Narrowed down interrupted lines to race conditions
Removed debug statements