added timeout to queue subscription