We should implement the guard condition based on [rcl](https://github.com/ros2/rcl/blob/master/rcl/include/rcl/guard_condition.h#L32) library.