Fix issue #58, nil message on AMQ shutdown.