Use enif_consume_timeslice and don't monopolize scheduler thread