Changed event loop logic, fix uncollectable eggs