Added retry logic with default 5 times
Expanded fakessh tests to reflect retry logic