set method timeout