Add Retry middleware
0.3.6