New method wait4