fun checkThreadSafe(): Unit
checks all subcomponents, if this component is really thread safe, and throws an exception if not thread safe