make forking of eventdispatching configurable