Fix NPE on colocation thread