Control of Real-Time Systems with Random Time-Delays