In the current implementation of the stream device simulation the socket server handles each request one at a time. As such when a command to open/close is done it will wait until that is complete to accept the next request. This means that during this time none of the input variables update because their get requests do not process.