in reply to LWP Timouts

Did you try to use alarm function and related stuff?