Add boolean to keep listning and returns id of the event, fix #2