Daemoning to avoid script blocking