This was not related, merely a copy-paste error. I did try out a
number of different pool_sizes but no change.
This specific issue turned out to be caused by thread closing to
early, shutting down the mongoconnection but keeping the rabbitMQ
connection alive. So when a message arrived it tried to access mongo
through a closed connection.
Still seem to get this problem on some other places at times though,
but it's probably caused by something similar.