registering timeout handler synchronously (#3810)

1 file changed