fixes from testing. now connects to send metrics instead of keep a persistent connection. removed exception and changed to callback. updated docs