modules: eventloop: add mutex to event call