Implement thread park / unpark