Fixed return status from stop script