Adding a thread to listen for responses from DHCP server