Reduced CPU Load and removed using escape to unregister the hook