Adapted relogin

Summary:
Added relogin retry policy
Depends on D4888

Test Plan: none

Reviewers: jmsotuyo

Reviewed By: jmsotuyo

Subscribers: jmsotuyo

Differential Revision: http://ph.monits.com/D4889