why waitandfork works in -nothreading mode is best way