An Architecture For Multi-Agent Systems Operating In Soft Real-Time Environments With Unexpected Events