libs/lucid: only execute handlers if daemon is below the thread limit, this allows...