Fixed pyHook hang after 6 times