Removed sync testing code. Made Threads.HandleEvent() synchronized as we don't want parallel writes to log file