Cancel enquire link timer on error?

close_connection requires some time to be processed and periodical timer continues writing "Link timer: Connection is in error state. Disconnecting" all this time.