improve astar timeout code.

do not check system time in the loop but use a Timer object to update Astar._timedout and check that.

not sure if this is helpful but calling system time and manipulating timestamp objects might be significant
in last commit forgot to remove the datetime.datetime.now()
removed redundant code
create code for test_assured