Add timeout support for sandboxes