added onvalidateConnection when an InvalidConnectionException (invalid api key/secret) is thrown