Don't auto reconnect and update client specs.
Fixed error in specs and removed auto-reconnect code in index.
Updated specs to use q.defer
Updated client to mark inactive.