Learning, Termination, and Payout Policy in Dynamic Incentives Contracts