Managing contract risk