close the pipes so that the calling python script can continue