Hi Mustafa,
sorry for the late answer... had a long vacation :-)
There is no solution for the "keep alive" connection. So the hole application ist optimized for the bi-directional communication. That means that the SAP-System send an question and waited for an answer. If the answer arrived the communication-task is over.
Regards,
Bernward