preserve timeout pid status, return 500 on error