Change to a blocking operation for test purpose