Javascript Retry On Error, catch, throw, and finally.