make worker record its pid and fix Travis