Return codes are not allowed in after_success hook