address some warnings
close file descriptors past '2' to deal with confusing descriptors open due to bash completion