I\'m trying to write an async sequantial function, but it looks like the next line of code will not wait till the first one is done. The problem is inside \'loadContract\' funct