Don't have Telegram yet? Try it now!
https://uhesse.com/2018/01/08/how-to-cancel-sql-statements-and-disconnect-sessions-in-postgresql/
How to cancel SQL statements and disconnect sessions in #PostgreSQL