Change taskId to taskIds
In case no callback is passed when emitting, use a default callback