Disequilibrium dynamics in a Keynesian model with time delays