Check that res.setTimeout exists