Background tasks with BackgroundExecutor class
Fix setup method
BiFunction to create error event