Locked Mail queue entry gets stuck during server restart

Entry in the Mail work queue is stuck if it is locked during the server restart. It can’t be sent or deleted in the screen.

This is not really a bug. There is an “Unlock” workflow you can use?