block signals for threads