Created separate connections for read/write