add retry option on peer close