Thread safe specs

I tested against commit e23f5241901990b7c342818f5d20023f2a4b7fdf but the spec fails so far.