Added repeating tasks ability, prevent trying to stop jsock if it isn't running, don't allow sending to server if no connection has yet been made