try to connect with key in case it is already deployed