stream disconnecting problems