Added retry to client
Added very bad implementation of retry in the GUI