Fixed issue where actions would fail to timeout when disconnected
Added optional callbacks to subscribe and unsubscribe methods