Raised when an operation is performed on a future that is not allowed in the current state.
exception concurrent.futures.InvalidStateError