I have issue with my video chat application. On client side I create two streams: first for publishing to another person, second for playing from another person. After 20 minutes it must be reset all connections between and close stream. How can I figure it out? How can I connect them with each other?