Issue #980 : MQTT connection gets stale / does not refresh 

Added option to set keepAlive interval.

Signed-off-by: Davy Vanherbergen <davy.vanherbergen@gmail.com>