Thank you for the details of the issue you are experiencing with Wi-Fi on your iMac after upgrading to OS X Mavericks. I would be concerned about this too.
I recommed following the steps in the section labeled, "Symptom: The network connection drops unexpectedly" in the following article to resolve an issue like the one you described:
Wi-Fi: How to troubleshoot Wi-Fi connectivity
Thank you for posting in the Apple Support Community.