Fix bug 990864: status check for stopped perl app