Add session expiration handler for 'list' command