have close() check to see if server closes before flushing
have close() check to see if server closes before flushing

harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ,harlequin-tech/WiFlyHQ