Instead of attempting to send an invalid object (String instead of Element or Stanza), set the status to the current one to keep alive.