Fixed computation of wait interval for timed receival.

This operation needed a timeout in milliseconds but it was computed in microseconds.