metadata processing error handling reimplemented
timeout canceled when stream cursor is stopped