The method should check whether the connection is closed and then do something like ping. Possible variants are using `<iproto ping>` or send `SELECT 1`.