Fixed logic to retry the connection to a detected device on the gateway process if it failed before
Updated hibernate version, seemingly fixing a connection bug that used to occur with the old version
Changed port from 9999 to 8888 in example deployment configuration