Add user defined timeout for anchor
extract delay time into local variable
Merge pull request #57 from QuynhNguyen/anchor-timeout

Add user defined timeout for anchor