Better:

```javascript
agentkeepalive.get({
  host: 'localhost',
  port: common.PORT,
  path: '/remote_close'
}, function (res) {
  ...
});
```