If after this time period the finger is lifted from the touch screen, the result is the same as after a mouse right clich, e.g. On a touch screen a right click is done by touching the screen for a second or so. The workaround with to close the Windows context menu is not very elegant, but at least it works reliably enough. This can be implemented by a simple script shown below.
The right-click invoked context menu (in an Explorer window) should be replaced by an own menu. I am definitely unable to find a workaround for the following problem: I know, there is an aversion to touch screen issues in the AHK community.