Hi,
If your session is continuously running then please check in ECC system about logoff service is activated or not.
go to sicf--> servies--> /sap/public/bc/icf/logoff
If logoff service is not activated then please try once after activating logoff service.
Regards,
Krunal Patel