use a thread so execution continues