adding timeout
polish reconnect
fix tests
add new tests for new reconnect feature
Merge pull request #533 from maraoz/feature/autoreconnect

Feature: autoreconnect to peers after time interval