We should be able to set how many times to retry a failed connection and how long we should wait before timing out.