BUG: stop_event_loop method should have flags METH_NOARGS as it has no arguments