I also came across this, the problem, at least for me, was the hostname lookup.
I solved it by editing Bad Behavior’s bad-behavior-wordpress-admin.php, the offending line being:
$host = @gethostbyaddr($result["ip"]);
You can safely comment it out.
It looks like gethostbyaddr has a very long timeout before giving up.