Test while starting node

We try to connect using thrift plugin while the node is starting.

Related to #16.
(cherry picked from commit 98c7946)