Add condition waiting for constructor to finish successfully