create a new connection for every read/write