@Override
 public void removeTaskEventsById(long taskId) {
   synchronized (ksession) {
     taskService.removeTaskEventsById(taskId);
   }
 }