Keep alive connections for bulk

refactor without join and map, please