Added timeout error in get_trigger() method