Kernel event loop fixes
1. We should not stop in the middle of handling older events
2. If stopped, LOOP_WAKE should be cleared

Change-Id: I114435c89f5d09745f94ddf7637ebd25337e6b00
Signed-off-by: Or Kehati <ork@mellanox.com>