Wrap the ChessContext in a using block.