A problem with the Telegram app- online status
Previous versions of Telegram used to linger on changing one's status from online to last seen just now for about 5-10 minutes. (Not documented, just my observation.) But I think they've fixed this in the latest version. Please update Telegram on all your devices and check if this problem still exists.