updated ledutils
changed api url
closing connection after sending frames