Dealing with on-line human-robot negotiations in hierarchical agent-based task planner