Fix race condition in unsubscribe; add race tests to Travis