Change the connected time from time_t to timespec.