allow setting of timeout