fix to get lock of Status
 * to wait plugin registration when in_status iterate hash (race condition: thread unsafe)