Improve retry logic for push replication #299

- Fix for #299 
- unlimited retry if error is transient error (5xx)
- Delay => Initial time is 4 sec. then 4sec * 2^retry
- Cancel scheduled task if Retry is canceled.