Hi Francisco,
You are correct as the client time out.
Before you add the Document,
Implement a timer that trigger every 60 seconds or so,
The call back of the timer should run this code
SBO_Application.RemoveWindowsMessage(SAPbouiCOM.BoWindowsMessageType.bo_WM_TIMER, true);
Regards
Edy