Fixed float parsing
Added timeout when joining thread to avoid freeze

Solving #3 but actual root cause not found clearly. Maybe related to
using pub.SendMessage in a thread