Fail if there is an open shell