Moved placement of code that resets resolvconf