GetExitCodeProcess always returns 1