According to this post on MLB Trade Rumors, Hardy has an opt out in June. The actual date isn't listed. There's also an opt out provision if he receives an opportunity to pitch abroad. https://www.mlbtraderumors.com/2019/11/twins-to-sign-blaine-hardy.html