Hello @Msk92 @Akash_Sapkal
You need to check the sample code here. If you disconnect code right after establishing connection and also do subscribe and unsubscribe instruments post that, the code will return error. Also, jupyter notebook handling is different.
@Msk92 you can refer to this thread: