Added method to get whether currently connected
Will now keep retrying to connect when started if asterisk unavailable