Need to implement Thread for network operations