[CLC-1177] More checks on ejecting cassettes
Merge pull request #599 from yuhunglin/CLC-1177

[CLC-1177] More checks on ejecting cassettes