proper way to detect queue not existing on startup