enable enif_send to work from a dirty scheduler