Last leak detected is fixed. Deadlocks when printing performance of SyncIO should also be fixed.