This was previously bug #13293. I thought the bug had been fixed but was checking during startup instead of shutdown.
*** This bug has been marked as a duplicate of 14847 ***