chore: handle expired subscription, close connection

Commit oleh Dapanel (429c1135d7cb4709c7bf80b1ae48d53e0225a8ff)