Global timeout implementation