Added maxqueuesize property to InternalSink