Sad to write that this no longer works... it does safely eject the drive, and error message is gone, but the computer instantly wakes on sleep :-(