Remove begin/rescue from validate_index, modify create_task accordingly