MP1-4155: fixed closing and opening connection
reworked sending and receiving RTSP request and responses to asynchronous (to not block main processing thread)
correctly checking end of stream by GOODBYE RTCP packet or by time specified by RTSP server
changed discontinuity reporting (due fact that FFmpeg sometimes doesn't return error)