How to set disconnection reconnection mechanism for pixel stream object?