Finally fix IP resolving issue
Change applied pull request
Debug info when locking failed