use queue:queue() instead of queue()

`queue()` will be deprecated in OTP 18.0