Add timeout argument to BLOCK_RECEIVE.