Fixed FATAL bug in BOINC API (and workaround for FATAL bug Bionic libc).
Also, we increase heartbeat timeout to 60 seconds (instead 30).