clear all connections before forking