[PATCH 1/2] server: Check for an existing serial wait ioctl within the ioctl handler.