Optimal project termination with an informed agent