Fixed order of setting timeout and queueing messages